<?php

namespace object\app;

class Foo
{

    public function __construct()
    {
        echo __METHOD__;
    }

    public static function method()
    {
        echo __FUNCTION__;
    }
}